package com.bilibili.sys.dao;

import com.bilibili.sys.bean.SysRole;
import com.bilibili.sys.utils.PageUtils;

import java.util.List;

/**
 * @author alpha
 * @program: BookSystem
 * @description:
 * @since 2024-03-28 00:20
 **/

public interface IRoleDao {
    public List<SysRole> list(SysRole entity);
    public List<SysRole> listPage(PageUtils pageUtils);
    public int save(SysRole entity);
    public  SysRole findById(int id);
    public int updateById(SysRole entity);

    int deleteById(int id);

    int count(PageUtils pageUtils);
}
